package com.xf.route;

import com.jfinal.config.Routes;
import com.xf.control.StaticController;
import com.xf.control.statics.HtmlController;
import com.xf.control.statics.JsonController;
import com.xf.control.statics.StringController;
import com.xf.control.statics.TimeController;

public class StaticRoute extends Routes {
    @Override
    public void config() {
        setBaseViewPath("WEB-INF/page/static");
        add("json", JsonController.class,"/");
        add("static", StaticController.class,"/");
        add("html", HtmlController.class,"/");
        add("string", StringController.class,"/");
        add("time", TimeController.class,"/");
    }
}
